package com.Ajava1801D.设计模式.适配器模式.类适配;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2020/10/12  15:31
 * 描述:
 */
public class TestShiPeiObject extends TestShiPeiLei implements TestShipeiqiInterface {

    private TestShipeiqiInterface testShipeiqiInterface;

    public TestShiPeiObject(TestShipeiqiInterface testShipeiqiInterface) {
        this.testShipeiqiInterface = testShipeiqiInterface;
    }

    @Override
    public void test2() {
        testShipeiqiInterface.test2();
    }
}
